<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<h2 class="contentTitle">个人档案详情</h2>
<style type="text/css">
.yt_img_mag5{ margin:-3px 5px 0px 5px;}
.table_boder {
	LINE-HEIGHT: 20px; BORDER-COLLAPSE: collapse;
	width:100%
}
.table_boder td,.table_boder tr{
	padding:4px;
	clean:both;
}
.table_boder TD ,.table_boder th{
	LINE-HEIGHT: 20px;
	border: 1px solid #bed5f3;
}
.table_boder2 {
	LINE-HEIGHT: 20px; BORDER-COLLAPSE: collapse;
	width:100%
}
.table_boder2 td,.table_boder tr{
	padding:5px 2px 5px 10px;
}
.table_boder2 TD ,.table_boder th{
	LINE-HEIGHT: 20px;
	border: 1px solid #cccccc;
}
.tag{ margin-right:12px; no-repeat 0 center; background-color:#e4f4fc}
.jbxx-block{ background:#97CBFF; font-weight:bold; line-height:22px; padding:3px 5px;}
.bitian{color:red;}

#jxqk_c3_jdxx_div .textInput { float:none;}
#g1jdxx_div .textInput { float:none;}
#g2jdxx_div .textInput { float:none;}
#g3jdxx_div .textInput { float:none;}
#_sqxx_div .textInput { float:none;}
#_tr_dz .textInput { float:none;}
</style>
<form method="post" id="pomrForm" action="doAddPomr.do" class="pageForm required-validate" onsubmit="return validateCallback(this,navTabAjaxDone,'','ydjk_call_befor()')">
<div class="pageContent" >
	<table cellspacing="0" cellpadding="0" width="100%" class="table_boder" layoutH="75">
		<tr  style="display: none"><td><input name="uid"  /></td></tr>
		<tr class="jbxx-block">
			<td colspan="6"><strong>基本信息</strong></td>
		</tr>
		<tr>
			<input style="display: none" name="uid" />
			<td class="tag">证件档案号</td>
			<td><input name="jkdah" id="_jkdah" type="text" class="required textInput" value="${newJkdah}" "/>
			</td>
			<td class="tag" >建档机构</td>
			<td><input name="jdjg" id="_jdjg" type="text"  class="required textInput" value="${ocode}"/>
			</td>
			<td class="tag" width="150px">建档人</td>
			<td><input name="jdr" type="text" class="textInput" value="${jdr}"/>
			</td>
		</tr>
		<tr>
			<td class="tag">姓名</td>
			<td><input name="xm" id="_xm" type="text" "/></td>
			<td class="tag">性别</td>
			<td>
				<select  name="xbm" > 
					<option value="">--请选择--</option>
					<option value="1"   >男</option>
					<option value="0" >女</option>
			 	</select>
			</td>
			
			<td class="tag" width="150px">建档时间</td>
			<td><input name="jdsj" id="_jdsj" type="text"  class="date" />
			</td>
		</tr>
		<tr>
			<td class="tag">证件类型</td>
			<td>
				<select  name="zjlx" > 
					<option value="">--请选择--</option>
					<c:forEach items="${dmZjlx}" var="zjlxNode">
						<option value="${zjlxNode.zid}"  >${zjlxNode.mc}</option>
					</c:forEach>
			 	</select>
			</td> 
			<td class="tag">证件号</td>
			<td><input name="zjh" id="_zjh" type="text" class="required" /> 
			<td class="tag">旧档案号</td>
			<td><input name="jdah" id="_jdah" type="text" maxlength="18" class="textInput" /></td>
		</tr>
		<tr>
			<td class="tag">婚姻状况</td>
			<td>
				<select  name="hyzk" > 
					<option value="">--请选择--</option>
					<c:forEach items="${dmHyzk}" var="hyzkNode">
						<option value="${hyzkNode.hid}" >${hyzkNode.mc}</option>
					</c:forEach>
			 	</select>
			</td>	
			<td class="tag">职位</td>
			<td>
				<select  name="zw" > 
					<option value="">--请选择--</option>
					<c:forEach items="${dmZw}" var="zwNode">
						<option value="${zwNode.zid}"  >${zwNode.mc}</option>
					</c:forEach>
			 	</select>
			</td>
			<td class="tag">文化程度</td>
			<td>
				<select  name="whcd" > 
					<option value="">--请选择--</option>
					<c:forEach items="${dmWhcd}" var="whcdNode">
						<option value="${whcdNode.wid}">${whcdNode.mc}</option>
					</c:forEach>
			 	</select>
			</td>
		</tr>
		<tr>
			<td class="tag">本人电话</td>
			<td><input class="" name="brdh" id="_brdh" type="text" value="${pomr.brdh }" />
			<td class="tag">联系人电话</td>
			<td><input class="" name="lxrdh" id="_lxrdh" type="text"value="${pomr.lxrdh }" />
			<td class="tag">联系人姓名</td>
			<td><input class="" name="lxrxm" id="_lxrxm" type="text"value="${pomr.lxrxm }" />
		</tr>
		<tr>
			<td class="tag">父亲姓名</td>
			<td><input class="" name="fqxm" id="_fqxm" type="text" value="${pomr.fqxm}" />
			<td class="tag">母亲姓名</td>
			<td><input class="" name="mqxm" id="_mqxm"  type="text" value="${pomr.mqxm }" />
			<td class="tag">监护人姓名</td>
			<td><input class="" name="jhrxm" id="_jhrxm"  type="text" value="${pomr.jhrxm }" />
		</tr>
		<tr>
			<td class="tag">家庭电话</td>
			<td><input class="" name="jtdh" id="_jtdh" type="text"	value="${pomr.jtdh}" />
			<td class="tag">人群类型</td>
			<td>
				<select  name="rqlx" > 
					<option value="">--请选择--</option>
					<c:forEach items="${dmRqlx}" var="rqlxNode">
						<option value="${rqlxNode.rid}" >${rqlxNode.mc}</option>
					</c:forEach>
			 	</select>
			</td>
			<td class="tag">居住类型</td>
			<td>
				<select  name="jzlx" > 
					<option value="">--请选择--</option>
					<c:forEach items="${dmJzlx}" var="jzlxNode">
						<option value="${jzlxNode.jid}"  >${jzlxNode.mc}</option>
					</c:forEach>
			 	</select>
			</td>
		</tr>
		<tr>
			<td class="tag">现住址村委会</td>
			<td><input class="" name="xzzqwh" type="text"  value="${pomr.xzzqwh}" />
			<td class="tag">户籍地委员会</td>
			<td><input class="" name="hjdwyh"  type="text"	value="${pomr.hjdwyh}" />
		</tr>
		<tr>
			<td class="tag">现住址</td>
			<td colspan="2"><input class="" name="xzz"  type="text" value="${pomr.xzz}" />
			<td class="tag">户籍住址</td>
			<td colspan="2"><input class="" name="hjzz" type="text" value="${pomr.hjzz}" />
		</tr>
		<tr>
			<td class="tag">RH阴性</td>
			<td><input class="" name="rh" 	type="text"	value="${pomr.rh}" />
			<td class="tag">血型</td>
			<td>
				<select  name="xx" > 
					<option value="">--请选择--</option>
					<c:forEach items="${dmXx}" var="xxNode">
						<option value="${xxNode.xid}" >${xxNode.mc}</option>
					</c:forEach>
			 	</select>
			</td>
		</tr>
		
		<tr class="jbxx-block">
			<td colspan="6"><strong>健康信息</strong></td>
		</tr>
		<tr>
			<td class="tag">药物过敏史</td>
			<td  colspan="4"> 
				<div id="ywgms">
					<c:forEach items="${ywgms}" var='ywgmsNode'>
				       <input name="ywgms" type="checkbox" value="${ywgmsNode.yid}"/>${ywgmsNode.mc}
					</c:forEach>
				</div>
			</td>	
		</tr>
		<tr>
			<td class="tag">暴露史</td>
			<td  colspan="4"> 
				<div id="bls">
					<c:forEach items="${bls}" var='blsNode'>
				       <input name="bls" type="checkbox" value="${blsNode.bid}"/>${blsNode.mc}
					</c:forEach>
				</div>
			</td>	
		</tr>
		<tr>
			<td class="tag">残疾</td>
			<td  colspan="4">
				<div id="cj" >
					<c:forEach items="${cj}" var='cjNode'>
				       <input name="cj" type="checkbox" value="${cjNode.cid}"/>${cjNode.mc}
					</c:forEach>
				</div>
			</td>	
			
		</tr>
		
		<tr>
			<td class="tag">燃料类型</td>
			<td colspan="4">
				<div id="rllx">
					<c:forEach items="${rllx}" var='rllxNode'>
				       <input name="rllx" type="checkbox" value="${rllxNode.rid}"/>${rllxNode.mc}
					</c:forEach>
				</div>
			</td>	
		</tr>
		
		<tr>
			<td class="tag">厕所</td>
			<td colspan="4">
				<div id="cs">
					<c:forEach items="${cs}" var='csNode'>
				       <input name="cs" type="checkbox" value="${csNode.cid}"/>${csNode.mc}
					</c:forEach>
				</div>
			</td>	
		</tr>
		
		<tr>
			<td class="tag">饮水</td>
			<td colspan="4">
				<div id="ys">
					<c:forEach items="${ys}" var='ysNode'>
				       <input name="ys" type="checkbox" value="${ysNode.yid}"/>${ysNode.mc}
					</c:forEach>
				</div>
			</td>	
		</tr>
		
		<tr>
			<td class="tag" rowspan="13">疾病</td>
			<td rowspan="13"><input name="jb" type="checkbox" value="无" />无</td>
			<td>
				<div id="jb">					
				   <c:forEach items="${jb}" var='jbNode'>
					<tr>
						<td colspan='2'>
							<input name="jb" type="checkbox"  value="${jbNode.jid}"> 疾病名称：<input value="${ss_y['mc']}">
					     </td>
					     <td colspan='2'>
					      	 疾病时间：<input name="sssj"  class="date"  type="textInput" />
					      </td>
				      </tr>
					</c:forEach>
				</div>
			</td>
		</tr>
		
		<tr>
			<td class="tag" rowspan="4">手术</td>
			<td rowspan="4"><input name="ss" type="checkbox" value="无" />无</td>
			<td>
				<div id="ss">					
				   <c:forEach items="${ss}" var='ssNode'>
					<tr>
						<td colspan='2'>
							<input name="ss" type="checkbox"  value="${ssNode.sid}"> 手术名称：<input/>
					     </td>
					     <td colspan='2'>
					      	 手术时间：<input name="sssj"  class="date"  type="textInput" />
					      </td>
				      </tr>
					</c:forEach>
				</div>
			</td>
		</tr>
		
		
		<tr>
			<td class="tag" rowspan="4">外伤</td>
			<td rowspan="4"><input name="ws" type="checkbox" value="无" />无</td>
			<td>
				<div id="ws">					
				   <c:forEach items="${ws}" var='wsNode'>
					<tr>
						<td colspan='2'>
							<input name="ws" type="checkbox" >外伤名称：<input/>
					     </td>
					     <td colspan='2'>
					      	 手术时间：<input name="sssj"  class="date"  type="textInput" />
					      </td>
				      </tr>
					</c:forEach>
				</div>
			</td>
		</tr>
		
		<tr>
			<td class="tag" rowspan="6">输血</td>
			<td rowspan="4"><input name="sx" type="checkbox" value="无" />无</td>
			<td>
				<div id="sx">					
				   <c:forEach items="${sx}" var='sxNode'>
					<tr>
						<td colspan='2'>
							<input name="sx" type="checkbox" >输血名称：<input/>
					     </td>
					     <td colspan='2'>
					      	 输血时间：<input name="sssj"  class="date"  type="textInput" />
					      </td>
				      </tr>
					</c:forEach>
				</div>
			</td>
		</tr>
	</table>
	
	
	<div class="formBar">
		<ul>
			<li><div class="buttonActive">
					<div class="buttonContent">
						<button type="submit">保存</button>
					</div>
				</div></li>
			<li><div class="button">
					<div class="buttonContent">
						<button type="button" class="close">返回</button>
					</div>
				</div></li>
		</ul>
	</div>

</div>
</form>
